package com.at.c09_method_area;

/**
 * 方法区测试
 * non-final的类变量
 *
 * @author huangchao E-mail:fengquan8866@163.com
 * @version 创建时间：2024/7/12 18:20
 */
public class MethodAreaTest {
    public static void main(String[] args) {
        Order order = null;
        order.hello();
        System.out.println(order.count);
    }
}
class Order {
    public static int count = 1;
    public static void hello() {
        System.out.println("hello!");
    }
}
